import { get,postRequestBody } from "../utils/request"


export const getGameRoleList = () => get("/api/game_role/list");
export const getGameRolePage = (param) => postRequestBody("/api/game_role/page",param);
export const getGameRoleInfo = (id) => get("/api/game_role/info/"+id);
export const addGameRole = (param) => postRequestBody("/api/game_role/add",param);
export const updateGameRole = (param) => postRequestBody("/api/game_role/update",param);
export const removeGameRole= (id) => get("/api/game_role/delete/"+id);
